package cn.iune.erp.customer;

import java.math.BigDecimal;
import java.text.ParseException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

import cn.iune.common.base.IBizDataIface;

public interface IMemberBalanceService extends IBizDataIface {

	List<MemberBalance> getAll();

	MemberBalance getByID(String fID);

	void delete(String fID);

	JSONObject save(JSONObject object) throws ParseException;

	List<MemberBalance> getList(String customerID);

	MemberBalance insert(String origin, String originName, String originNo, String balanceNo, String systemCode, String billType,
			String billTypeName, String dealObject, String dealObjectLabel, String customerID, String customerNo,
			String shortName, String customerName, String remark, BigDecimal balance, String handling,
			String handlingLabel, String cUsercode, String cUsername, String userId, String enterpriseNo,
			String enterpriseName);

	MemberBalance yeczInsert(String origin, String originName, String originNo, String dealObject, String dealObjectLabel,
			String customerID, String customerNo, String shortName, String customerName, String remark,
			BigDecimal balance, String cUsercode, String cUsername, String userId, String enterpriseNo,
			String enterpriseName);

	MemberBalance yexfInsert(String origin, String originName, String originNo, String dealObject, String dealObjectLabel,
			String customerID, String customerNo, String shortName, String customerName, String remark,
			BigDecimal balance, String cUsercode, String cUsername, String userId, String enterpriseNo,
			String enterpriseName);

	MemberBalance getByOriginNo(String customerID, String originNo);

	MemberBalance getByNo(String balanceNo, String enterpriseNo);

	MemberBalance update(MemberBalance obj);

	MemberBalance updateHandling(String customerID, String originNo, BigDecimal actualAmount, String handling,
			String handlingLabel);


}